package com.bwda.dsrs.filecenter.domain.vo.filedownload;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 文件下载策略
 *
 * @author zhangyinmei
 * @date 2019年5月23日
 */
@Data
@ApiModel(description = "文件下载策略")
public class FileStrategyVo {

    private Integer id;
    private Integer downloadId;
    private Integer fileId;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    private Integer parentId;

    @ApiModelProperty(value = "文件大小")
    private Integer fileSize;

    @ApiModelProperty(value = "文件类型")
    private Integer fileType;

    @ApiModelProperty(value = "水印模式")
    private String watermarkType;

    @ApiModelProperty(value = "水印内容")
    private String watermarkContent;

    @ApiModelProperty(value = "脱敏字段")
    private String desensRule;

    /**
     * 1 : 加解密 , 2 : 扫描
     * 3 : 脱敏 , 4 : PDF转换
     * 5 : 水印
     */
    @ApiModelProperty(value = "策略规则")
    private String strategyRule;

//    @ApiModelProperty(value = "tree")
//    private List<FileStrategyVo> children;

}